﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Daphne.Modularity.UI
{
    /// <summary>
    /// Interface to the region manager
    /// </summary>
    public interface IRegionManager
    {
        void RegisterViewViewModel(Type view, Type viewModel);        
        void RegisterViewViewModel<VIEW, VIEWMODEL>();
        object ResolveViewModel(Type view);

        // TO-DO: For future use
        //void RegisterViewViewModel(string regionName, Type view, Type viewModel);
        //void RegisterViewViewModel<VIEW, VIEWMODEL>(string regionName);
    }
}
